onSwipe Event

Arguments

eleobject

The element that contains the data.

dataobject

The data for the row.

eobject

An object that contains the following properties:

swipeDirectionstring

The direction that the user swips (left, right, up, down.)

rowNumbernumber

A zero-based row number that the user swipd.

Description

Fires when the user swipes (left, right, up or down) on a row in the List.

Discussion

In addition the Javascript can reference the 'this' scope, a pointer to the List object.

See Also